<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FGElib: Fichero Fuente C:/dev/C++/proyectos/FGElib/main.cpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generado por Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Estructuras&nbsp;de&nbsp;Datos</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
    </ul>
  </div>
<h1>C:/dev/C++/proyectos/FGElib/main.cpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> Free Graphics Engine </span>
<a name="l00003"></a>00003 <span class="comment"> 0.0.1a</span>
<a name="l00004"></a>00004 <span class="comment"> dev.hddisseny</span>
<a name="l00005"></a>00005 <span class="comment"> 100510</span>
<a name="l00006"></a>00006 <span class="comment"> Framework completo de la libreria SDL para usar en VC Express 8.</span>
<a name="l00007"></a>00007 <span class="comment">                   Creado por dev.hddisseny - dev.hddisseny@gmail.com </span>
<a name="l00008"></a>00008 <span class="comment">*/</span>
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;FGElib.h&quot;</span>
<a name="l00012"></a>00012 <a class="code" href="class_f_g_e___motion.html" title="Clase encargada de el manejo del motor de la libreria.">FGE_Motion</a> DemoFGE;
<a name="l00013"></a>00013 <span class="keywordtype">bool</span> loop;
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[])
<a name="l00016"></a>00016 {
<a name="l00017"></a>00017         DemoFGE.<a class="code" href="class_f_g_e___motion.html#a580bf203b80d8712c78dc464b1fb4a21">Init</a>(<span class="stringliteral">&quot;DemoFGE&quot;</span>);
<a name="l00018"></a>00018         DemoFGE.<a class="code" href="class_f_g_e___motion.html#ae678237c3eb52412f79cdcf1424b26f7">Window</a>(200, 200, 16);
<a name="l00019"></a>00019         
<a name="l00020"></a>00020         <span class="keywordflow">while</span>(!loop) 
<a name="l00021"></a>00021         {
<a name="l00022"></a>00022                 DemoFGE.<a class="code" href="class_f_g_e___motion.html#a693775ca444d08642c4694c5982dcf81">Refresh</a>();
<a name="l00023"></a>00023                 <span class="keywordflow">switch</span> ( DemoFGE.<a class="code" href="class_f_g_e___motion.html#addb09bbc5e51cef696915490e1936476">Keyboard</a>() )
<a name="l00024"></a>00024                 {
<a name="l00025"></a>00025                         <span class="keywordflow">case</span> FGE_ESC:
<a name="l00026"></a>00026                         exit(0);
<a name="l00027"></a>00027                         <span class="keywordflow">break</span>;
<a name="l00028"></a>00028                 }
<a name="l00029"></a>00029         }
<a name="l00030"></a>00030         <span class="keywordflow">return</span> 0;
<a name="l00031"></a>00031 }
<a name="l00032"></a>00032 
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generado el Sat May 15 12:31:12 2010 para FGElib por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
